public class xunhuan {

public static void main(String[] args){
		int i = 1;
		int a = 0;
		do{
			a+=i; 
			System.out.println("a="+a);
			i++;
		}
		while(i<=100);
		
	}
		

		}
